package com.sunny.myproject.storem.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.sunny.myproject.system.entity.IdEntity;

/**
 * 库存实体
 * 
 * @author sunny_nie
 * 
 */
@Entity
@Table(name = "tb_store")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Store extends IdEntity {

	//手机种类
	public static final String KIND_PHONE ="0";
	
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 型号
	 */
	private String type;
	/**
	 * 品牌
	 */
	private String band;
	/**
	 * 类别
	 */
	private String kind;
	/**
	 * 数量
	 */
	private Integer amount;
	/**
	 * 价格
	 */
	private double price;
	/**
	 * 备注
	 */
	private String remark;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getBand() {
		return band;
	}

	public void setBand(String band) {
		this.band = band;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
